package com.hundun.hddeal.dao;

import com.hundun.hddeal.entity.GzhType;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Component;

import javax.persistence.criteria.CriteriaBuilder;
import java.util.List;

/**
 * 公众号类型接口
 * @author 谢
 */
@Component
public interface GzhTypeMapper {
    int deleteByPrimaryKey(Long id);

    int insert(GzhType record);

    int insertSelective(GzhType record);

    List<GzhType> selectByPrimaryKey(@Param("type") Integer type);

    int updateByPrimaryKeySelective(GzhType record);

    int updateByPrimaryKey(GzhType record);
}